﻿<UserControl xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"  x:Class="Kaskelot.SP.UI.Analys.Controls.GridContainer"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    d:DesignHeight="465" d:DesignWidth="1000">

    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="*"/>
            <RowDefinition Height="40"/>
        </Grid.RowDefinitions>
        
        <telerik:RadGridView telerik:StyleManager.Theme="Summer" 
                             x:Name="Grid" AutoGenerateColumns="False" 
                             Grid.Row="0" FrozenColumnCount="0" IsReadOnly="true" 
                             Height="335" ScrollViewer.VerticalScrollBarVisibility="Auto" 
                             ScrollViewer.HorizontalScrollBarVisibility="Auto">
            <telerik:RadGridView.Columns>
            </telerik:RadGridView.Columns>
        </telerik:RadGridView>
        
        <Button Name="ExportButton" Click="ExportButton_Click" Grid.Row="1" Height="34"  Width="120" HorizontalAlignment="Right" Padding="0,0,0,0" VerticalAlignment="Bottom">
			Exportera till Excel
            <!--<Image Source="/Kaskelot.SP.UI.Analys;component/Images/export_button.jpg" Cursor="Hand" />-->
        </Button>
    </Grid>
</UserControl>
